#!/bin/sh
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

# cron.daily file to update the ufdb database

# Avoid doing anything if no download user is set in the configuration
# file
( . /etc/conf.d/ufdb ; [ -z "${DOWNLOAD_USER}" ]; ) && exit

/usr/sbin/ufdbUpdate

/etc/init.d/squid rotate
